<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: XT
  Date: 2022/6/20
  Time: 18:28
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>采购信息</title>
    <link rel="stylesheet" type="text/css" href="easyui/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="easyui/css/default.css" />
    <link rel="stylesheet" type="text/css" href="easyui/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="easyui/css/demo.css">
    <script type="text/javascript" src='easyui/js/outlook2.js'> </script>
    <script type="text/javascript" src="easyui/jquery.min.js"></script>
    <script type="text/javascript" src="easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="easyui/themes/locale/easyui-lang-zh_CN.js"></script>
</head>
<body>
<table  class="easyui-datagrid" title="采购信息" style="width: 100%; height: 100%" data-options="singleSelect:true,collapsible:true" toolbar=#toolbar rownumbers="true" pagination="true">
    <thead data-options="frozen:true">
    <tr>
        <th data-options="field:'wpbh',width:150">物品编号</th>
        <th data-options="field:'wpmc',width:150">物品名称</th>
        <th data-options="field:'cgsl',width:150">采购数量</th>
        <th data-options="field:'djr',width:150">登记人</th>
    </tr>
    </thead>
    <tbody>
    <c:forEach var="cg" items="${cg}">
        <tr>
            <td>${cg.wpbh}</td>
            <td>${cg.wpmc}</td>
            <td>${cg.cgsl}</td>
            <td>${cg.djr}</td>
        </tr>
    </c:forEach>
    </tbody>
</table>
<div id="toolbar">
    <a href="test.jsp" class="easyui-linkbutton" iconCls="icon-search" plain="true">登记</a>

</div>
</body>
<script type="text/javascript">

</script>
</html>
